package com.hls.mvc.core;

import java.util.HashMap;
import java.util.Map;

public class SpringMappings {
    //enable annotation
    private boolean annotationDriven;
    private String prefix;
    private String suffix;
    private String basePackage;
    private boolean includeSub;
    private Map<String,String> mappings;
    
    public Map<String,String> getMappings() {
        if(this.mappings == null)
        {
            this.mappings = new HashMap<String,String>();
        }
        return mappings;
    }
    public void setMappings(Map<String, String> mappings) {
        this.mappings = mappings;
    }
    public boolean getAnnotationDriven() {
        return annotationDriven;
    }
    public void setAnnotationDriven(boolean annotationDriven) {
        this.annotationDriven = annotationDriven;
    }
    public String getPrefix() {
        return prefix;
    }
    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }
    public String getSuffix() {
        return suffix;
    }
    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }
    public String getBasePackage() {
        return basePackage;
    }
    public void setBasePackage(String basePackage) {
        this.basePackage = basePackage;
    }
    public boolean getIncludeSub() {
        return includeSub;
    }
    public void setIncludeSub(boolean includeSub) {
        this.includeSub = includeSub;
    }
}
